<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>店铺广告信息</h5>
                <div class="ibox-tools" style="top:10px;">
                    <button type="button" v-if="viewStoreAdsInfo.index != 2" class="btn btn-primary btn-sm" style="margin-right:10px;"  v-on:click="_openSelectStoreAdsInfoModel()">
                        <i class="glyphicon glyphicon-search"></i> 选择店铺广告</button>

                    <button type="button" v-if="viewStoreAdsInfo.index != 2" class="btn btn-primary btn-sm" v-on:click="_openAddStoreAdsInfoModel()">
                        <i class="glyphicon glyphicon-plus"></i> 添加店铺广告</button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >广告名称：</label>
                            <label class="">{{viewStoreAdsInfo.adName}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >广告类型：</label>
                            <label class="">{{viewStoreAdsInfo.adType}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >顺序：</label>
                            <label class="">{{viewStoreAdsInfo.seq}}</label>
                        </div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >开始时间：</label>
                            <label class="">{{viewStoreAdsInfo.startTime}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >结束时间：</label>
                            <label class="">{{viewStoreAdsInfo.endTime}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >发布类型：</label>
                            <label class="">{{viewStoreAdsInfo.advertType}}</label>
                        </div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >链接地址：</label>
                            <label class="">{{viewStoreAdsInfo.pageUrl}}</label>
                        </div>
</div>
</div>

            </div>
        </div>
    </div>

    <vc:create path="goods/addStoreAds"
               callBackListener="viewStoreAdsInfo"
               callBackFunction="chooseStoreAds"
    ></vc:create>


    <vc:create path="goods/chooseStoreAds"
               emitChooseStoreAds="viewStoreAdsInfo"
               emitLoadData="viewStoreAdsInfo"
    ></vc:create>
</div>
